programming4us
           
 
 
Windows

Turning Windows 7 into a Web Server : Understanding the Default Website

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/19/2011 9:32:00 AM
The default website set up by IIS isn’t much to look at. That’s okay because a bit later you’ll be adding plenty of your own content to the site. For now, the simplicity of the site is an advantage because it makes it easy for you to look around and see how the default site is constructed. This will help you down the road to customize the site and to add your own content.

Viewing the Default Website Folder

Let’s begin by examining the folder that holds the website content:

1.
Select Start, Computer to open the computer window.

2.
Double-click the hard drive on which Windows 7 is installed.

Tip

The Windows 7 hard drive is usually the C: drive. If you’re not sure, look for the drive icon that has the Windows flag superimposed on it. You may need to pull down the Views menu and select Large Icons or Tiles to see the flag.

3.
Open the inetpub folder.

4.
Open the wwwroot subfolder.

The wwwroot folder holds the IIS default website files, as shown in Figure 1.

Figure 1. The contents of the IIS wwwroot folder.

The wwwroot folder has one subfolder (aspnet_client, which you can ignore) and two files:

iisstart.htmThis file contains the code that is used to display the home page .
welcome.pngThis file is the IIS7 image that you see in the home page.

Viewing the Default Website with IIS Manager

The wwwroot folder enables you to examine the physical files and subfolders associated with the IIS default website. However, you probably won’t often deal with the wwwroot folder (or any folder) directly when creating and configuring your own web pages and websites. Instead, you’ll most often use a Microsoft Management Console snap-in called the IIS Manager.

To display this snap-in and the default IIS website, follow these steps:

1.
Select Start, type iis, and then select IIS Manager in the search results. The Internet Information Services (IIS) Manager window appears.

2.
Open the Computer branch (where Computer is the name of your Windows 7 PC).

3.
Open the Sites branch.

4.
Select the Default Web Site branch.

IIS Manager gives you two ways to view the website files:

  • Click the Content View button to see the site contents. As you can see in Figure 2, you see the same subfolder and files as you saw earlier (see Figure 28.7) when you examined the contents of the wwwroot folder.

    Figure 2. Click Content View to see the site’s files and subfolders.
  • Click Features View to see a collection of icons associated with the site’s features, as shown in Figure 3. Most of these are advanced features, so you’ll be using only a small subset of them.

    Figure 3. Click Features View to see icons associated with the site’s features.

Tip

You can also use IIS Manager to open the website in your default web browser. In IIS Manager, open the Computer, Sites branch (where Computer is the name of the computer running IIS), select Default Web Site, and then click Browse in the Actions pane. (You can also right-click Default Web Site, and then select Manage Web Site, Browse in the shortcut menu.)

Other -----------------
- Turning Windows 7 into a Web Server : Accessing Your Website
- Windows 7 : Installing Internet Information Services
- Windows 7 : Using Virtual Private Network Connections
- Windows 7 : Using Dynamic DNS to Access Your Network & Configuring a Network Computer for Remote Administration
- Windows 7 : Connecting to a Remote Desktop via the Internet
- Windows 7 : Connecting to the Remote Desktop (part 2) - Making an Advanced Connection
- Windows 7 : Connecting to the Remote Desktop (part 1) - Making a Basic Connection
- Windows 7 : Setting Up the Remote Computer as a Host (part 2) - Configuring XP to Act as a Remote Desktop Host
- Windows 7 : Setting Up the Remote Computer as a Host (part 1) - Configuring Windows 7 or Vista to Act as a Remote Desktop Host
- Windows 7 : Working with Network Files Offline (part 6) - Dealing with Synchronization Conflicts
- Windows 7 : Working with Network Files Offline (part 5) - Synchronizing Your Offline Files
- Windows 7 : Working with Network Files Offline (part 4) - Working with Network Files While You’re Offline
- SOA with .NET and Windows Azure : WCF Discovery (part 3) - Discovery Proxies for Managed Discovery & Implicit Service Discovery
- SOA with .NET and Windows Azure : WCF Discovery (part 2) - Locating a Service Ad Hoc & Sending and Receiving Service Announcements
- SOA with .NET and Windows Azure : WCF Discovery (part 1) - Discovery Modes
- Windows 7 : Working with Network Files Offline (part 3) - Prohibiting a Network Folder from Being Made Available Offline & Encrypting Offline Files
- Windows 7 : Working with Network Files Offline (part 2) - Changing the Amount of Disk Space Used by Offline Files
- Windows 7 : Working with Network Files Offline (part 1) - Activating the Offline Files Feature & Making a File or Folder Available for Offline Use
- Windows 7 : Sharing Resources with the Network (part 2) - Monitoring Your Shared Resources
- Windows 7 : Sharing Resources with the Network (part 1) - Setting Sharing Options & Creating User Accounts for Sharing
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us